package cn.bluedot.tea.pojo.vo;

import java.util.Map;

import com.alibaba.fastjson.JSONObject;

public class RunningLogMessage {

	private int idRunningLog;
	private String date;
	private Integer userId;
	private String URI;
	private Map<String, String[]> requestParams;
	private String resultType;
	private String runningTime;
	private String userIp;

	public RunningLogMessage(String date, Integer userId, String URI, Map<String, String[]> requestParams, String resultType,
			String runningTime, String userIp) {
		super();
		this.date = date;
		this.userId = userId;
		this.URI = URI;
		this.requestParams = requestParams;
		this.resultType = resultType;
		this.runningTime = runningTime;
		this.userIp = userIp;
	}
	
	public int getIdRunningLog() {
		return idRunningLog;
	}

	public void setIdRunningLog(int idRunningLog) {
		this.idRunningLog = idRunningLog;
	}

	public RunningLogMessage() {
		super();
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getURI() {
		return URI;
	}

	public void setURI(String URI) {
		this.URI = URI;
	}

	public Map<String, String[]> getRequestParams() {
		return requestParams;
	}

	public void setRequestParams(Map<String, String[]> requestParams) {
		this.requestParams = requestParams;
	}

	public String getResultType() {
		return resultType;
	}

	public void setResultType(String resultType) {
		this.resultType = resultType;
	}

	public String getRunningTime() {
		return runningTime;
	}

	public void setRunningTime(String runningTime) {
		this.runningTime = runningTime;
	}

	public String getUserIp() {
		return userIp;
	}

	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}
	
	public static void main(String[] args) {
		System.out.println(new RunningLogMessage());
	}

}
